package com.example.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@TableName("t_soldout")
public class Soldout implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "soldout_id", type = IdType.AUTO)
      private Integer soldoutId;

    private String bookNum;

    private String reason;

    
    public Integer getSoldoutId() {
        return soldoutId;
    }

      public void setSoldoutId(Integer soldoutId) {
          this.soldoutId = soldoutId;
      }
    
    public String getBookNum() {
        return bookNum;
    }

      public void setBookNum(String bookNum) {
          this.bookNum = bookNum;
      }
    
    public String getReason() {
        return reason;
    }

      public void setReason(String reason) {
          this.reason = reason;
      }

    @Override
    public String toString() {
        return "Soldout{" +
              "soldoutId=" + soldoutId +
                  ", bookNum=" + bookNum +
                  ", reason=" + reason +
              "}";
    }
}
